package site.codeblog.designpattern.depend_reverse.before;

import lombok.Data;

@Data
public class Computer {

    private InterCpu interCpu;

    private HaiDaoChuanMem haiDaoChuanMem;

    private XiJieDisk xiJieDisk;

    public void run(){
        interCpu.run();
        haiDaoChuanMem.init();
        xiJieDisk.init();
    }

}
